package interfaces.menu.joinGame.filters;

import interfaces.menu.joinGame.gamesTable.GamesTableWidget;
import interfaces.options.OptionWidget;

public abstract class Filter {
	
	protected OptionWidget filterWidget;
	
	public Filter(OptionWidget filterWidget) {
		this.filterWidget = filterWidget;
	}
	
	public abstract boolean passes(GamesTableWidget widget);
	
	public OptionWidget getOptionWidget() { return filterWidget; }
}